package com.hankai.service;

import com.hankai.common.ServerResponse;
/**
 * Created by hankai on 2017/6/7.
 */
public interface ICategoryService {
    /**
     * 添加分类节点
     * @param categoryName
     * @param parentId
     * @return
     */
    ServerResponse addCategory(String categoryName,Integer parentId);

    ServerResponse updateCategory(String categoryName, Integer categoryId);

    ServerResponse getChildenParallelCategory(Integer parentId);

    ServerResponse getChildenAndDeepParallelCategory(Integer categoryId);

}
